package org.fujene.toolbox;

public class CompareTool{
	public static boolean isStoreLocally(int blockIndex, int chainSize, int nodeIndex, int replication){
		for(int i = 0; i < replication; i++){
			if((blockIndex - i) % chainSize == nodeIndex) return true;
		}
		return false;
	}
}
